
import { postRequest, getRequest } from '/@/lib/axios';

export const bomordApi = {

    /**
     * 分页查询  @author  AKITA
     */
    queryPage: (param) => {
        return postRequest('/bomord/queryPage', param);
    },

    /**
     * 增加  @author  AKITA
     */
    add: (param) => {
        return postRequest('/bomord/add', param);
    },

    /**
     * 修改  @author  AKITA
     */
    update: (param) => {
        return postRequest('/bomord/update', param);
    },


    /**
     * 删除  @author  AKITA
     */
    delete: (id) => {
        return getRequest(`/bomord/delete/${id}`);
    },

    /**
     * 批量删除  @author  AKITA
     */
    batchDelete: (idList) => {
        return postRequest('/bomord/batchDelete', idList);
    },

    info: (id) => {
        return getRequest(`/bomord/info/${id}`);
    },

};
